import Vue from 'vue'
import Router from 'vue-router'
import Index from '@/components/index'
import Yb from '@/components/coment/yb'
import Yh from '@/components/coment/yhzl'
import Bg from '@/components/coment/bg'
import Ys from '@/components/coment/ys'
import Tb from '@/components/coment/tb'
import Dt from '@/components/coment/dt'
import Tz from '@/components/coment/tz'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Index',
      component: Index,
      children:[
        {
          path: '/',
          name:'Yb',
          component:Yb
        },
        {
          path: '/ybp',
          name:'Yb',
          component:Yb
        },
        {
          path: '/yh',
          name:'Yh',
          component:Yh
        },
        {
          path: '/bg',
          name:'Bg',
          component:Bg
        },
        {
          path: '/ys',
          name:'Ys',
          component:Ys
        },
        {
          path: '/tb',
          name:'Tb',
          component:Tb
        },
        {
          path: '/dt',
          name:'Dt',
          component:Dt
        },
        {
          path: '/tz',
          name:'Tz',
          component:Tz
        }
      ]
    },
  ]
})
